<?php
require_once $_SESSION["app_root"]."config/app.config.php";
class EntityInfo extends SecuredClass
{
    private $ID;
    private $Name;
    private $Label;
    private $PluralLabel;
	private $Fields = array();
	
	function __construct($ID = null, $Name = null, $Label=null, $PluralLabel = null, $Fields = null){
		$this->setID($ID);
		$this->setName($Name);
		$this->setLabel($Label);
		$this->setPluralLabel($PluralLabel);
		$this->setFields($Fields);
	}
	
    /**
     * Returns $ID.
     * @see EntityInfo::$ID
     */
    public function getID()
    {
        return $this->ID;
    }  
    /**
     * Sets $ID.
     * @param object $ID
     * @see EntityInfo::$ID
     */
    public function setID($ID)
    {
        $this->ID = $ID;
    }
    
    /**
     * Returns $Label.
     * @see EntityInfo::$Label
     */
    public function getLabel()
    {
        return $this->Label;
    }
    
    /**
     * Sets $Label.
     * @param object $Label
     * @see EntityInfo::$Label
     */
    public function setLabel($Label)
    {
        $this->Label = $Label;
    }
    
    /**
     * Returns $Name.
     * @see EntityInfo::$Name
     */
    public function getName()
    {
        return $this->Name;
    }
    
    /**
     * Sets $Name.
     * @param object $Name
     * @see EntityInfo::$Name
     */
    public function setName($Name)
    {
        $this->Name = $Name;
    }
    
    /**
     * Returns $PluralLabel.
     * @see EntityInfo::$PluralLabel
     */
    public function getPluralLabel()
    {
        return $this->PluralLabel;
    }
    
    /**
     * Sets $PluralLabel.
     * @param object $PluralLabel
     * @see EntityInfo::$PluralLabel
     */
    public function setPluralLabel($PluralLabel)
    {
        $this->PluralLabel = $PluralLabel;
    }

    /**
     * Returns $Fields.
     * @see EntityInfo::$Fields
     */
    public function getFields()
    {
        return $this->Fields;
    }
    
    /**
     * Sets $Fields.
     * @param object $Fields
     * @see EntityInfo::$Fields
     */
    public function setFields($Fields)
    {
        $this->Fields = $Fields;
    }

}
?>
